import { get, post, upload } from "@/utils/http";


export const getListUrl = p => get("/activity/list", p);
//上传
export const getUploadListUrl = p => upload("/activity/upload", p);//上传
//点赞
export const getGoodListUrl = p => upload(`/activity/${p.id}/like`, p);
//抽奖
export const getLuckDrawUrl = p => post(`/activity/lottery`, p);

export const getrecordUrl = p => get(`/activity/lottery/record`, p);
//查看用户是否签到
export const getUserCkeckUrl = p => get(`/activity/check`, p);
//列表删除
export const getdeleteItemUrl = p => post(`/activity/${p.id}/delete`);
